package com.chen.manager.mapper;

import com.chen.model.dto.system.SysRoleDto;
import com.chen.model.entity.system.SysRole;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author cgj
 * @date 2/12/25 8:43 AM
 */
@Mapper
public interface SysRoleMapper {
    List<SysRole> selectAllByPage(SysRoleDto sysRoleDto);

    Integer insertSysRole(SysRole sysRole);

    void updateRole(SysRole sysRole);

    void deleteSysRoleById(Integer id);

    List<SysRole> selectAll();
}
